package com.beiding.workordersystem.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.beiding.workordersystem.common.dao.MPage;
import com.beiding.workordersystem.system.entity.UserEntity;

import java.util.List;

public interface UserService {
    void save(UserEntity userEntity);
    void delete(String[] ids);
    IPage<UserEntity> page(UserEntity userEntity, int currentPage, int pageSize);

    UserEntity getById(String id);

    UserEntity getByAccountId(String id);

    boolean existById(String id);

    void substitution(String from, String to);

    IPage<UserEntity> findByIds(MPage page, List<String> ids);

}
